﻿<?xml version="1.0" encoding="utf-8" ?>
<program_def>
	<!--program body-->
	<code_block>
		<!--function definition-->
		<function_def name="sum3">
			<parameters>
				<param>
					<variable name ="a"/>
				</param>
				<param>
					<variable name ="b"/>
				</param>
				<param>
					<variable name ="c"/>
				</param>
			</parameters>
			<code_block>
				<return>
					<binary operator ="+">
						<left>
							<binary operator ="+">
								<left>
									<variable name ="a" />
								</left>
								<right>
									<variable name ="b" />
								</right>
							</binary>
						</left>
						<right>
							<variable name ="c" />
						</right>
					</binary>
				</return>
			</code_block>
		</function_def>



		<function_call method="print">
			<arguments>
				<function_call method="sum3" >
					<arguments>
						<constant value ="1" />
						<constant value ="2" />
						<constant value ="3" />
					</arguments>
				</function_call>
			</arguments>
		</function_call>
	</code_block>
</program_def>
